package com.wang.jmonkey.common.amqp.config;

import com.wang.jmonkey.common.constant.MqQueueConstant;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther: tianchao
 * @Date: 2020/4/26 08:57
 * @Description:
 */
@Configuration
public class RabbitMqConfig {


    @Bean
    public Queue logQueue(){
        return new Queue(MqQueueConstant.LOG_QUEUE,true,false,false);
    }
}
